.inHospitla-body {
    width: 100%;
    height: 100%;
}

.hospital-patient-body {
    .hospital-span-hide {
        width: 40vh;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ant-card-body {
        padding: 5px;
    }

    cursor: pointer;

    .adm-status-bgd {
        background: #1999db;

    }

    .patient-show-header {
        margin-top: 10px;
    }

    // .patient-card-style {
    //     // -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    //     // box-shadow        : 0 2px 8px rgba(0, 0, 0, 0.15);
    // }

    .ant-card-head {
        padding: 0 5px;
        min-height: 30px;
    }

    .ant-card-head-title {
        padding: 5px 0 !important;
    }

    // .ant-table-thead>tr,
    // .ant-table-tbody>tr {
    //     // height: 50px !important;
    // }

    .batch-add-temp {
        cursor: pointer;
        color: #64A982;
        line-height: 40px;
    }

    .courseInfo {
        float: left;
        width: 74%;
        margin-top: 15px;
        margin-left: 7px;
        border: 1px solid #e6e6e6;
        height: 93%;
        background-color: white;

    }

    .selected {
        color: #1890ff;
    }

    .disabledItem {
        font-family: Microsoft YaHei;
        font-weight: bold;
        color: rgba(102, 102, 102, 1);
    }

    .unSelected {
        color: #69C0FF;
    }

    .normalText {
        color: #666666;
    }

    .collection-list-left {
        width: 3px;
        height: 18px;
        background: #1999db;
        left: 10px;
        float: left;
        margin-top: 4px;
    }

    .splice-boy {
        width: 50px;
        height: 65px;
        background-image: url('../image/default.png');
        background-repeat: no-repeat;
        background-position: -32px 9px;
    }

    .splice-girl {
        width: 50px;
        height: 65px;
        background-image: url('../image/default.png');
        background-repeat: no-repeat;
        background-position: 7px 6px;
    }

    .splice-other {
        width: 50px;
        height: 65px;
        background-image: url('../image/default.png');
        background-repeat: no-repeat;
        background-position: -73px 9px;
    }

    // .ant-steps-item-process .ant-steps-item-icon{
    //     // background: #1999db;
    // }
    // .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon{
    //     color: #1999db;
    // }
    // .ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-tail::after{
    //     background: #1999db;
    // }
    // .hospital-titlt-btn {
    //      .ant-btn-primary{
    //         background:#dbf3e6;
    //         color: #1999db;
    //         border: none;
    //      }

    // .ant-btn-primary:hover {
    //     outline         : none;
    //     background-color: #dbf3e6;
    //     color: #1999db;
    //     border-color    :none;
    // }
    // .ant-btn-primary:focus {
    //     outline         : none;
    //     background-color: #dbf3e6;
    //     color: #1999db;
    //     border-color    :none;
    // }
    // }

    .ant-card-head {
        font-size: 14px;
        color: #666666;
        font-weight: 400;
    }
}

.hospital-station-body {
    .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
        color: #64a982;
    }

    .batch-add-temp {
        cursor: pointer;
        // color: #64A982;
        color: white;
    }

    .ant-card-extra {
        padding: 0;
    }

    .outpatient-station-col {
        >span {
            color: white;
        }
    }

    /** 雪碧图*/
    .patient-title-splice {
        width: 36px;
        height: 33px;
        background-image: url('../image/patient.png');
        background-repeat: no-repeat;
        background-position: -83px -27px;
        // position        : relative;
        // top             : -8px;
    }

    .hospital-left-float {
        width: 20%;
        height: 100%;
        background: white;
        z-index: 1000;
        position: absolute;
        overflow: auto;
        left: 0;

        .ant-card-head {
            height: 36px;
            background: #1999db;
        }

        .ant-card-body {
            padding: 10px;
        }

        .ant-menu {
            background: #fff !important;
            color: rgba(0, 0, 0, 0.65) !important;
        }

        .ant-menu-item,
        .ant-menu-submenu-title {
            color: rgba(0, 0, 0, 0.65) !important;
        }

        .ant-menu-submenu {
            border-bottom: 1px solid #cccccc;
        }

        .ant-menu-item:active,
        .ant-menu-submenu-title:active {
            color: rgba(0, 0, 0, 0.65) !important;
        }

        .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
            background: #D0E9FF !important;
            color: rgba(0, 0, 0, 0.65) !important;
        }

        .ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title {
            height: 28px !important;
            line-height: 28px !important;
        }

        .ant-menu-sub.ant-menu-inline>.ant-menu-item,
        .ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title {
            height: 30px !important;
            line-height: 30px !important;
        }

        .ant-menu-sub.ant-menu-inline {
            height: 400px;
            overflow: auto;
        }
    }

    .hospital-card-footer {
        height: 36px;
        background: #1999db;
        width: 100%;
        // position: fixed;
        // bottom  : 35px;
        // left    : 13.7%;
        color: white;
        text-align: center;
        line-height: 36px;
        cursor: pointer;
    }

    .ant-card-actions {
        height: 36px;
        line-height: 36px;
        background: #1999db;
    }

    .action-card {
        line-height: 36px;
        color: white;
    }

    .ant-card-actions>li {
        margin: 0;
    }

    .ant-collapse>.ant-collapse-item>.ant-collapse-header {
        padding: 6px 16px;
        padding-left: 40px;
    }

    .ant-menu .ant-menu-sub .ant-menu-inline {
        height: 400px;
        overflow: auto;
    }
}

// 住院医嘱录入
.hospital-doctorAds-body {
    .mouse-add-Style {
        color: #1890ff;
    }

    .ant-table-title {
        padding: 5px 0px;
    }

    .ant-table-row-cell-break-word {
        position: relative;
    }

    .hdb-written-orders {
        .hdb-written-orders-icon {
            position: absolute;
            background: #ff85c0;
            transform: rotate(45deg);
            width: 36px;
            height: 36px;
            top: -18px;
            right: -18px;

            span {
                position: absolute;
                bottom: 0;
                display: inline-block;
                width: 36px;
                text-align: center;
                font-size: 12px;
                color: #fff;
                font-weight: normal;
            }
        }
    }
}

.box {
    background: #fff;
    border: 1px solid #999;
    border-radius: 3px;
    width: 180px;
    height: 180px;
    margin: 10px;
    padding: 10px;
    float: left;
    z-index: 10000;
}

.react-draggable,
.cursor {
    cursor: move;
}

.no-cursor {
    cursor: auto;
}

.cursor-y {
    cursor: ns-resize;
}

.cursor-x {
    cursor: ew-resize;
}

.react-draggable strong {
    background: #ddd;
    border: 1px solid #999;
    border-radius: 3px;
    display: block;
    margin-bottom: 10px;
    padding: 3px 5px;
    text-align: center;
}

.explice-tree {
    width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/**门诊日志*/
.out-patient-service-body {
    .time-horizontal {
        list-style-type: none;
        border-top: 1px solid #1890ff;
        max-width: 800px;
        padding: 0px;
        margin: 0px;
    }

    .time-horizontal li {
        float: left;
        position: relative;
        text-align: center;
        width: 25%;
        padding-top: 10px;
    }

    .time-horizontal li b:before {
        content: '';
        position: absolute;
        top: -42px;
        left: 16%;
        width: 135px;
        height: 80px;
        border: 1px solid #1890ff;
        // border-radius: 8px;
        background: white;
    }

    .time-horizontal li b:after {
        content: '';
        position: absolute;
        top: -7px;
        left: 47%;
        width: 12px;
        height: 12px;
        // border       : 2px solid #1890ff;
        // border-radius: 8px;
        // background   : #1890ff;
    }


    //纵向
    .time-vertical {
        list-style-type: none;
        border-left: 1px dashed #1890ff;
        padding: 0px;
    }

    .time-vertical li {
        height: 100px;
        position: relative;
    }

    .time-vertical li a {
        display: inline-block;
        margin-left: 20px;
        margin-top: 15px;
        text-decoration: none;
        color: #1890ff;
    }

    .time-vertical li b:before {
        content: '';
        position: absolute;
        top: 15px;
        left: -12px;
        width: 18px;
        height: 18px;
        border: 2px solid #98FB98;
        border-radius: 10px;
        background: #98FB98;
    }

    .time-vertical li span {
        position: absolute;
        color: #fff;
        top: 18px;
        left: -6px;
    }
}

.annual-trend-card-show {
    width: 50%;
    height: 100%;
    float: left;
}

.annual-trend-card-hide {
    width: 100%;
    height: 100%;
    float: left;
}

.annual-trend-card-showRight {
    width: 50%;
    height: 100%;
    float: right;
}

.annual-trend-body {
    height: 90%;
    width: 100%;

    .ant-card-head {
        font-size: 14px;
        height: 34px;
        color: #1999db;
        background: none;
        padding: 0 0 0 0px;
        line-height: 34px;
        border-bottom: 1px solid #F5F4F4;
    }

    .ant-card-extra {
        padding: 0 15px !important;
    }

    .annual-tread-title {
        margin-left: 40px;

        .whiteBtn {
            width: 15px;
            height: 15px;
            border: 1px solid #f5222d;
            background: #fff7e6;
            margin-top: 9px;
            border-radius: 7px;
            margin-left: 20px
        }

        .rightBtn {
            width: 15px;
            height: 15px;
            border: 1px solid gray;
            background: #42b983;
            margin-top: 9px;
            border-radius: 7px;
            margin-left: 20px
        }

        .redBtn {
            width: 15px;
            height: 15px;
            border: 1px solid #f5222d;
            background: #fa8c16;
            margin-top: 9px;
            border-radius: 7px;
            margin-left: 20px
        }
    }
}

.patient-tab-body {
    height: calc(~"100% - 36px");

    .ant-collapse-content {
        height: 338px !important;
    }

    .ant-tabs-bar {
        margin: 0px;
    }

    .ant-tabs-tabpane.ant-tabs-tabpane-active {
        height: 100%;
    }
}

.patient-tab-body.ant-tabs .ant-tabs-top-content,
.patient-tab-body.ant-tabs .ant-tabs-bottom-content {
    height: calc(~"100% - 40px");
}

.confirm-refused-modal {

    .ant-modal-content {
        width: 600px;
        // right: 40%;
    }

    // .ant-modal-header {
    //     background: #64A982;
    // }

    // .ant-modal-title {
    //     color: white;
    // }

    .ant-modal-footer {
        text-align: center;
    }

    // .ant-btn-primary {
    //     background-color: #1999db;

    //     &.ant-btn:hover,
    //     &.ant-btn:focus {
    //         color     : #fff;
    //         background: #64A982;
    //     }
    // }

    .ant-modal-body {
        padding: 24px;
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        min-height: 20vh;
        max-height: 30vh;
        overflow-y: auto;
    }

    // .ant-modal-close {
    //     color: white;
    // }

    .modal-body {
        max-height: 30vh;
        overflow-y: auto;
    }
}

/***补录费用**/
.collection-cost-body {
    .ant-card-head {
        padding: 0 10px !important;
    }

    .ant-card-head-title {
        padding: 7px 0 !important;
    }

    .ant-card-extra {
        padding: 7px 0 !important;
    }

    .ant-card-body {
        padding: 10px 10px 3px 10px;
    }

    .collection-hide-modal {
        .ant-card-body {
            margin-top: 30vh;
        }
    }

    .collection-list-left {
        width: 3px;
        height: 18px;
        background: #1999db;
        left: 10px;
        float: left;
        margin-top: 5px;
    }

    .patient-saveButton {
        margin-right: 10px;
    }

    .ant-table-title {
        padding: 5px 0px;
    }

    .collection-left-table {
        .ant-table-body {
            height: 69vh;
        }
    }

    .collection-advice-table {
        .ant-table-body {
            height: 39vh;
        }
    }

    .ant-table-thead>tr>th,
    .ant-table-tbody>tr>td {
        padding: 0 5px !important;
    }

    .coll-context-table {
        .ant-table-body {
            height: 22vh;
        }
    }

    .ant-table-tbody>tr.ant-table-row-selected td {
        background: #bfe6f8 !important;
    }
}

.hospital-component-modal {
    .ant-modal-content {
        width: 1250px;
        right: 70%;
    }

    // .ant-modal-header {
    //     background: #64A982;
    // }

    // .ant-modal-title {
    //     color: white;
    // }

    .ant-modal-footer {
        text-align: center;
    }

    .ant-btn-primary {
        background-color: #1999db;

        //   border-color:#64A982; 
        &.ant-btn :hover,
        &.ant-btn:focus {
            color: #fff;
            background: #64A982;
        }

        ;
    }

    .ant-modal-body {
        padding: 0 !important;
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        min-height: 60vh;
        max-height: 70vh;
        overflow-y: auto;
    }

    .ant-table-placeholder {
        border: none !important;
    }

    // .ant-modal-close {
    //     color: white;
    // }

    .modal-body {
        // max-height: 60vh;
        overflow-y: auto;
    }

    .out-patient-table-title {
        position: absolute;
        right: 10px;
        bottom: 10px;
    }

    .hospital-component-table {
        .ant-table-body {
            height: 58vh;
        }
    }
}

.collection-modal-body {
    .ant-modal-content {
        width: 1250px;
        right: 70%;
    }

    .ant-modal-footer {
        text-align: center;
    }

    .ant-btn-primary {
        background-color: #1999db;

        //   border-color:#64A982; 
        &.ant-btn :hover,
        &.ant-btn:focus {
            color: #fff;
            background: #64A982;
        }

        ;
    }

    .ant-modal-body {
        padding: 0 !important;
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        min-height: 60vh;
        max-height: 70vh;
        overflow-y: auto;
        background: #f1f2f5;
    }

    .ant-table-placeholder {
        border: none !important;
    }

    .modal-body {
        overflow-y: auto;
    }

    .out-patient-table-title {
        position: absolute;
        right: 10px;
        bottom: 10px;
    }

    .hospital-component-table {
        .ant-table-body {
            height: 58vh;
        }
    }

    .ant-card-head {
        padding: 0 5px;
        min-height: 30px;
    }

    .ant-card-head-title {
        padding: 5px 0 !important;
    }

    .collection-list-left {
        width: 3px;
        height: 18px;
        background: #1999db;
        left: 10px;
        float: left;
        margin-top: 4px;
    }

    .ant-card-body {
        padding: 5px;
    }

    .doctor-left-radio-modal {
        height: 25px;
        margin-top: 5px;
        background: #F6FCF9;
        /* width: 100%; */
        text-align: left;
        line-height: 25px;
        margin-left: 10px;
    }

    .ant-table-thead>tr>th,
    .ant-table-tbody>tr>td {
        padding: 0 5px !important;
    }
}

.hospital-advice-list-show {
    width: 34px;
    height: 34px;
    cursor: pointer;
    background-image: url('../image/icon.png');
    background-repeat: no-repeat;
    background-position: 6px -32px;
}

.hospital-advice-list-hide {
    width: 34px;
    height: 34px;
    cursor: pointer;
    background-image: url('../image/icon.png');
    background-repeat: no-repeat;
    background-position: -28px -32px;
}

.hospital-line-left {
    width: 3px;
    height: 23px;
    background: #1999db;
    left: 10px;
    float: left;
    margin-top: 5px;
}

/**出院***/
.discharge-modal {
    .ant-modal-content {
        width: 900px;
        right: 40%;
        top: 10vh;
    }

    .ant-modal-footer {
        text-align: center;
    }

    .ant-btn-primary {
        background-color: #1999db;

        //   border-color:#64A982; 
        &.ant-btn :hover,
        &.ant-btn:focus {
            color: #fff;
            background: #64A982;
        }

        ;
    }

    .ant-modal-body {
        padding: 5px;
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        min-height: 40vh;
        max-height: 40vh;
        overflow-y: auto;
        background: #efefef;
    }

    .modal-body {
        height: 40vh;
        overflow-y: auto;
    }

    .confirm-card-body {
        .ant-card-body {
            min-height: 30vh;
        }
    }

    .ant-card-body {
        padding: 5px;
    }
}

.patient-component-table {
    .ant-table-body {
        height: 52vh;
    }
}

.doctor-unuse-splice {
    width: 15px;
    height: 15px;
    background-image: url('../image/icon.png');
    background-repeat: no-repeat;
    background-position: 0px 0px;
}

.hospital-stop-splice {
    width: 15px;
    height: 15px;
    background-image: url('../image/icon.png');
    background-repeat: no-repeat;
    background-position: -31px 0px;
}

.hospital-copy-splice {
    width: 15px;
    height: 15px;
    background-image: url('../image/icon.png');
    background-repeat: no-repeat;
    background-position: -96px 0px;
}

.hospital-plus-square-splice {
    width: 15px;
    height: 15px;
    background-image: url('../image/icon.png');
    background-repeat: no-repeat;
    background-position: -112px 0px;
}

.hospital-menu-unfold-splice {
    width: 15px;
    height: 15px;
    background-image: url('../image/icon.png');
    background-repeat: no-repeat;
    background-position: -127px 0px;
}

//执行记录弹框
.execution-modal {
    .ant-modal-content {
        width: 900px;
        right: 40%;
    }

    .ant-modal-footer {
        text-align: center;
    }

    .ant-btn-primary {
        background-color: #1999db;

        &.ant-btn :hover,
        &.ant-btn:focus {
            color: #fff;
            background: #64A982;
        }

        ;
    }

    .ant-modal-body {
        padding: 5px;
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        height: 50vh;
        overflow-y: auto;
    }

    .modal-body {
        // max-height: 40vh;
        height: 40vh;
        overflow-y: auto;
    }

    .confirm-card-body {
        .ant-card-body {
            min-height: 30vh;
        }
    }

    .ant-table-title {
        padding: 5px 0;
    }

    .ant-table-body {
        height: 40vh;
    }
}

.hospital-drag-modal {
    .ant-card-body {
        height: 60vh;
        overflow: auto;
    }

    .ant-card-head {
        padding: 0;
        height: 35px;
        min-height: 0px;
    }

    .ant-card-head-title {
        padding: 5px 0px !important;
    }

    .ant-card-extra {
        padding: 0 5px;
    }

    .batch-add-temp {
        color: #007AFF;
    }

    .ant-card-body {
        padding: 5px
    }

    .doctor-left-radio {
        width: 95%;
    }

    -webkit-box-shadow: 4px 4px 8px 4px rgba(0, 0, 0, 0.15);
    box-shadow: 4px 4px 8px 4px rgba(0, 0, 0, 0.15);
}

.clickSupplement {
    background: #f6ffed;
}

.clickSupplemented {
    background: #f0f5ff;
}

.clickSupplements {
    background: #e2ecfe;
}

.collection-bgd-card {
    width: 15px;
    height: 15px;
    background: #f6ffed;
    margin-right: 5px;
    margin-top: 8px;
    border: 1px solid #d9f7be;
}

.collection-bgd-copy {
    width: 15px;
    height: 15px;
    background: #f0f5ff;
    margin-right: 5px;
    margin-top: 8px;
    border: 1px solid #d6e4ff;
}

.collection-bgd-copyed {
    width: 15px;
    height: 15px;
    background: #e2ecfe;
    margin-right: 5px;
    margin-top: 8px;
}

.splice-boys {
    width: 134px;
    height: 165px;
    margin-left: 20px;
    transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -o-transform: scale(0.9);
    -moz-transform: scale(0.9);
    background: url('../../../assets/images/avatar_male.png');
}

.splice-girls {
    width: 134px;
    height: 165px;
    margin-left: 20px;
    transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -o-transform: scale(0.9);
    -moz-transform: scale(0.9);
    background-image: url('../../../assets/images/avatar_female.png');
}

.splice-patient-img {
    width: 134px;
    height: 165px;
    transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -o-transform: scale(0.9);
    -moz-transform: scale(0.9);
}

.out-patient-styles {
    background: #F5F7FE;
    width: 100%;
    height: 100%;

    .ant-card-body {
        padding: 5px;
    }
}

.doctor-tree-tabs {
    .ant-tabs-bar {
        margin: 0 !important;
    }
}

.hospital-columns {
    color: #007AFF;
    font-size: 16px;
}

.rowColorStyle {
    color: red;
}

.doctor-list-explice {
    width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.styleRowRefused {
    background: #9254de;
}

.red-row-bg {
    background: #ff3399;
}

// 未处理医嘱
.row-untreated-med-bg {
    background: rgba(54, 207, 201, .5);
}
